package com.example.cellTracker;

public class Utils {

	public static boolean isBetween(double angulo, double d, double e) {
		  return angulo > d && angulo < e;
		}
	

	public static String quotedStr(String string) {
		if (string == null){
			return null;
		}
		if (string.equalsIgnoreCase("")) {
			return"";
		}
		
		int lastPos = string.length() - 1;
		// if already has a quote
		if (lastPos < 0 || (string.charAt(0) == '"' && string.charAt(lastPos) == '"')) {
			return string;
		}
		// append
		return'\"' + string + '\"';
	}

}
